<template>
	<view style="background-color: aliceblue;" :style="'height:'+ this.h+'rpx'">
		<view style="margin-left: 20rpx;">
			<classroomList :url="url"></classroomList>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '/api/mobile/schoolstudent/schoolteachingtasklesson/getAllTeachingTaskLesson',
				h: null,
			}
		},
		methods: {
			
		},
		onLoad() {
			uni.getSystemInfo({
				success: (res) => {
					// console.log("手机可用高度:" + res.windowHeight * 2 + "rpx");
					// this.$store.commit('set_window_height', res.windowHeight * 2);
					this.h=res.windowHeight * 2;
				}
			})
		},
	}
</script>

<style lang="scss" scoped>
// view: {
// 	background-color: aliceblue;
// }
</style>
